package com.example.buildtable.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true)
public class MessageHandle {
    @TableId(type = IdType.AUTO)
    private Integer messageHandleId;
    @TableField(value = "message_id", target = ComplaintMessage.class)
    private Integer messageId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private ComplaintMessage message;
    @TableField(value = "handle_id", target = Handle.class)
    private Integer handleId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private Handle handle;
}
